package lng.site.balafon.model;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Transient;
import javax.persistence.Embeddable;

/**
 * <p>Pojo mapping TABLE question</p>
 * <p></p>
 *
 * <p>Generated at Thu Aug 02 21:53:17 CEST 2012</p>
 * @author Salto-db Generator v1.0.16 / EJB3
 * 
 */
@Entity
@Table(name = "question", catalog = "balafon2")
@SuppressWarnings("serial")
public class Question implements Serializable {

	/**
	 * Attribute idQuestion.
	 */
	private Integer idQuestion;
	
	/**
	 * Attribute titre.
	 */
	private String titre;
	
	/**
	 * Attribute idTheme.
	 */
	private Integer idTheme;
	
	/**
	 * Attribute idMembre.
	 */
	private Integer idMembre;
	
	/**
	 * Attribute contenuQuestion.
	 */
	private String contenuQuestion;
	
	
	/**
	 * <p> 
	 * </p>
	 * @return idQuestion
	 */
	@Basic
	@Id
	@Column(name = "id_question")
		public Integer getIdQuestion() {
		return idQuestion;
	}

	/**
	 * @param idQuestion new value for idQuestion 
	 */
	public void setIdQuestion(Integer idQuestion) {
		this.idQuestion = idQuestion;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return titre
	 */
	@Basic
	@Column(name = "titre", length = 255)
		public String getTitre() {
		return titre;
	}

	/**
	 * @param titre new value for titre 
	 */
	public void setTitre(String titre) {
		this.titre = titre;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return idTheme
	 */
	@Basic
	@Column(name = "id_theme")
		public Integer getIdTheme() {
		return idTheme;
	}

	/**
	 * @param idTheme new value for idTheme 
	 */
	public void setIdTheme(Integer idTheme) {
		this.idTheme = idTheme;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return idMembre
	 */
	@Basic
	@Column(name = "id_membre")
		public Integer getIdMembre() {
		return idMembre;
	}

	/**
	 * @param idMembre new value for idMembre 
	 */
	public void setIdMembre(Integer idMembre) {
		this.idMembre = idMembre;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return contenuQuestion
	 */
	@Basic
	@Column(name = "contenu_question", length = 65535)
		public String getContenuQuestion() {
		return contenuQuestion;
	}

	/**
	 * @param contenuQuestion new value for contenuQuestion 
	 */
	public void setContenuQuestion(String contenuQuestion) {
		this.contenuQuestion = contenuQuestion;
	}
	


}